package com.dragon.queue;

/**
 * @author dragon
 * @version 1.0
 * @description
 * @date created in 2018-12-13
 */
public class LoopQueueTest {

    public static void main(String[] args) {
        LoopQueue<Integer> loopQueue = new LoopQueue<>();
        for (int i = 0; i < 10; i++) {
            loopQueue.enqueue(i);
        }
        System.out.println("出队的元素:" + loopQueue.toString());
        System.out.println("出队的元素:" + loopQueue.toString());
        System.out.println("出队的元素:" + loopQueue.toString());
        System.out.println("出队的元素:" + loopQueue.toString());
        System.out.println("出队的元素:" + loopQueue.toString());
        System.out.println(loopQueue.toString());
    }
}
